Skip to main content

All Questions

0votes
1answer
706views

Files get executable when copied

So I just bought a new Samsung T7 Portable SSD. I initially intended to format it to exFAT, for use with both Windows, MacOS and Linux, but upon inspection, the disk comes with a default file system ...
genbatro's user avatar
1vote
0answers
57views

Empty executables after creating bind mount

I've created a bind mount in /tmp/test which I then use to establish a chroot jail. For example: mount --bind -o ro /usr/bin/ /tmp/test chroot /tmp/test /some_executable This seems to work fine - most ...
stumbling.fool's user avatar
0votes
3answers
283views

Do 'executable' file systems exist?

Are there any Unix/Linux filesystems that do the following? if the file is executable, return a virtual file containing the stdout generated by executing it (it would have to be non-writable, I ...
Stephen Winnall's user avatar
0votes
1answer
4kviews

Running an executable off of a usb drive

I have an executable on my usb drive. I cd to the directory, ./app yields permission denied. So I did chmod u+x app. Then, ./app. But still, permission denied.! Then I read something here: That ...
user96931's user avatar
1vote
1answer
96views

Is there a way to restore an uninstalled executable from bin?

I tried upgrading pip3 using su -c 'pip3 install' --upgrade pip' because I got errors and it failed when trying to upgrade it as a normal user. This removed the pre-installed pip from /usr/bin and ...
bit's user avatar
  • 1,166
3votes
1answer
3kviews

Should libexec folders be added to some PATH-like variables?

Situation Some programs that I build from source have a directory libexec in the installation directory (for example, gnuplot). As a matter of rule, I add a export LD_LIBRARY_PATH=${installation ...
XavierStuvw's user avatar
5votes
1answer
5kviews

Change the owner of an ntfs filesystem mounted via fstab

I want to mount a partition on boot and need it to have read, write and execute permissions. I'm using 64-bit Arch Linux and created the following /etc/fstab file: /dev/sda1 /run/media/luancristian/...
Thums's user avatar
7votes
2answers
656views

Why there are multiple folders for executable files in Linux? [duplicate]

I'm trying to understand Linux file system, and one of the question is: 1- Why there are multiple folders for executable files: /usr/bin, /usr/sbin/ and /usr/local/bin? Is there any differences ...
Nidal's user avatar
  • 9,036
0votes
4answers
14kviews

noexec on /tmp and /var/tmp directory

Our client servers are running old version of jboss (Jboss 4.0) which has lots of known vulnerabilities. Result is that the server is hacked and we are seeing some unknown executable running from /tmp,...
Zama Ques's user avatar
2votes
4answers
427views

Is there a structured format of version info for OS-level executables?

I am looking for a structured format of version info for OS-level executables, such as in /usr/bin and /usr/local/bin. The problem we are having is the inconsistent architecture between our PROD and ...
amphibient's user avatar
38votes
1answer
9kviews

What is Linux doing differently that allows me to remove/replace files where Windows would complain the file is currently in use?

The example I have is Minecraft. When running Bukkit on Linux I can remove or update the .jar files in the /plugins folder and simply run the 'reload' command. In Windows, I have to take the whole ...
MetaGuru's user avatar
5votes
3answers
2kviews

Most unix-like filesystem that can be mounted under windows and Mac OS X

I've recently purchased a usb stick which I will be using to share data between me and my colleagues. I'd like to format it as ext3, but I know this will cause trouble because for instance Mac OS X ...
romeovs's user avatar
  • 1,700
1vote
1answer
1kviews

skype not found on Oneiric 64, but it is right there [duplicate]

Possible Duplicate: Can't execute some binaries in chroot environment (zsh: Not found) I have something weird here. Cannot find a file although it is right there. $ skype command not found: ...
Johann Philipp Strathausen's user avatar
9votes
3answers
13kviews

Directories with binary files in Linux

I noticed that when I install new application there are a few possible directories where the resulting binary file will be placed. You can install with packaging manager, compile with make, ...
xralf's user avatar

close